package com.huaao.micropolice.core.model.system;

import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.Set;

/**
 * @author qiyang
 * 角色
 * @version 1.0
 */
public class Role implements Serializable{
	private String id;
	private String name;
	private String mark;
	private Dept dept;
	
	private Set<Jobs> jobs = new LinkedHashSet<Jobs>();
	private Set<User> users = new LinkedHashSet<User>();
	private Set<Menu> menus = new LinkedHashSet<Menu>();
	private Set<Button> buttons = new LinkedHashSet<Button>();
	private Set<Menu_Dept> menuDepts = new LinkedHashSet<Menu_Dept>();
	private Set<Menu_Subject> menuSubjects = new LinkedHashSet<Menu_Subject>();
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Dept getDept() {
		return dept;
	}
	public void setDept(Dept dept) {
		this.dept = dept;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	public Set<Jobs> getJobs() {
		return jobs;
	}
	public void setJobs(Set<Jobs> jobs) {
		this.jobs = jobs;
	}
	public Set<User> getUsers() {
		return users;
	}
	public void setUsers(Set<User> users) {
		this.users = users;
	}
	public Set<Menu> getMenus() {
		return menus;
	}
	public void setMenus(Set<Menu> menus) {
		this.menus = menus;
	}
	public Set<Button> getButtons() {
		return buttons;
	}
	public void setButtons(Set<Button> buttons) {
		this.buttons = buttons;
	}
	public Set<Menu_Dept> getMenuDepts() {
		return menuDepts;
	}
	public void setMenuDepts(Set<Menu_Dept> menuDepts) {
		this.menuDepts = menuDepts;
	}
	public Set<Menu_Subject> getMenuSubjects() {
		return menuSubjects;
	}
	public void setMenuSubjects(Set<Menu_Subject> menuSubjects) {
		this.menuSubjects = menuSubjects;
	}
}
